import java.util.Currency;

/**
 * This class holds the price and type for items
 * 
 * @author Matthew Edwards 
 * @version 3-5-11
 */

public class Items {
    
    private String name;
    private Currency price; //get a premade money class
    
    public Items(String name, Currency price){
        this.name = name;
        this.price = price;
    }
    
    /**Gets the name of the item
     * 
     * @return
     *    The item's name
     */
    public String getName()
    {
        return name;
    }
    
    /**Sets the name
     * 
     * @param input
     *    the name to be set
     */
    public void setName(String input)
    {
        name = input;
    }
    
    /**Gets the price of the item
     * 
     * @return
     *    the price of the item
     */
    public Currency getPrice()
    {
        return price;
    }
    
    /**sets the price of the item
     * 
     * @param Money
     *    the price to be set
     */
    public void setPrice(Currency input)
    {
        price = input;
    }

}
